﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Claims_PrintEN : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        int id = int.Parse(Request.QueryString["id"]);
        //int id = 18;

        Claim claim = ItemsDAL.GetClaimById(id);

        lblSupplier.Text = claim.Supplier1.Name;
        lblCustomer.Text = claim.Customer.Name;
        lblDate.Text = claim.ClaimNoteDate.Value.Date.ToShortDateString();
        lblArrivalDate.Text = claim.ArrivalDate.Value.Date.ToShortDateString();
        lblClaimNo.Text = claim.ClaimNum;
        lblSupplierId.Text = claim.Supplier;
        lblReqAction.Text = claim.RequestedAction.Text;
        lblOtherAction.Text = claim.OtherAction;
        lblOurReference.Text = claim.Reference.ReferenceName;
        lblOurOrderNo.Text = claim.OrderNum;
        lblDelyNote.Text = claim.DelyNote;
   
    }
    protected void RadGridRejectedItems_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
    {

    }
}
